<#assign contextPath=springMacroRequestContext.getContextPath() />
<#import "/public/frame/main.html" as frame />
<@frame.head "">
</@frame.head>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>老师查看评审列表</title>
<link rel="stylesheet" href="${contextPath}/resources/css/reset.css">
<link rel="stylesheet" type="text/css"
	href="${contextPath}/resources/css/font/iconfont.css" />
<link rel="stylesheet" href="${contextPath}/resources/css/ping.css">
<script src="${contextPath}/resources/js/jquery-1.8.3.js"
	type="text/javascript"></script>
<script src="${contextPath}/resources/js/main.js" type="text/javascript"></script>
<script src="${contextPath}/resources/js/ping.js" type="text/javascript"></script>

</head>
<body>
	<div class="nav">
		<span>评审列表</span>
	</div>
	<!-- 列表 -->
	<div class="box">
		<ul class="list">
		 <form method="post" name="query_product_form"  id="query_product_form" action="${contextPath}/Uinformation/tz_pingshen" >    
		   <input type="hidden" name="page" value="${pagination.pageNo}"  id="page" />  
		   <input type="hidden" name="checkboxs" value="${checkboxs}"  id="checkboxs" />
		   <input type="hidden" name="upOrDown" value="${upOrDown}"  id="upOrDown" />                           
	  	  <div class="text-c" >
       		 <table class="table search_table" style="margin:0 auto">
           <tr>  
				<td>状态:
					<select name="statis" id="statis">
						<option value="" >请选择</option>
								<option value="1">未评审</option>
								<option value="2">已评审</option>
								<option value="3">已拒绝</option>
					</select>				
									&nbsp;&nbsp;作品标题:&nbsp;&nbsp;<input type="text" class="input-text" style="width:250px" placeholder="输入作品标题" value="${paintingQo.introduce}" id="" name="nickname" id="" >
			&nbsp;&nbsp;<button type="submit" class="btn btn-success radius" id="" name=""><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
       	   </tr>
      	</table>
    	</div></br>
	</form>
			<#list reviewPaintingResultDto.reviewPaintinglist as list>
			<li class="item" data-num="0">
				<div class="f-left">
					<#if list.status==1>
					<img onclick="reviewDetails(${list.id?c});" src="${list.notchangedURL}">
					</#if>
					<#if list.status==2>
					<img onclick="reviewDetails(${list.id?c});" src="${list.changepaintingURL}">
					</#if>
					
					<#if list.status==1>
					
					</#if>
					<#if list.status==2>
					<p class="fen">${list.sccore}</p>
					</#if>
					
				</div>
				<div class="f-right">
					<p class="miao">${list.introduce}</p>
					<div class="stu">
						<div class="tou">
							<img src="${list.avatar}">
						</div>
						<div class="ren">
							<p>求评审学生</p>
							<p style="color: #bbb;">${list.nickName}</p>
						</div>
					</div>
					<div class="f-time">
						<span>发布时间:</span> <span>${(list.releasetime?string("yyyy-MM-dd"))!}</span>
					</div>
				</div>
			</li>
			</#list>
			<!-- <li class="item" data-num="0">
				<div class="f-left">
					<img src="images/boat.jpg">
					<p class="fen">95</p>
				</div>
				<div class="f-right">
					<p class="miao">对自己作品的简单描述</p>
						<div class="stu">
							<div class="tou">
								<img  src="images/defaultT.png" >
							</div>
							<div class="ren">
								<p>求评审学生</p>
								<p style="color:#bbb;">学生姓名</p>
							</div>
						</div>
						<div class="f-time">
							<span>发布时间:</span>
							<span>2018-12-20</span>
					</div>
				</div>
			</li>
			<li class="item" data-num="0">
				<div class="f-left">
					<img src="images/per.jpg">
					<p class="fen">95</p>
				</div>
				<div class="f-right">
					<p class="miao">对自己作品的简单描述</p>
						<div class="stu">
							<div class="tou">
								<img  src="images/defaultT.png" >
							</div>
							<div class="ren">
								<p>求评审学生</p>
								<p style="color:#bbb;">学生姓名</p>
							</div>
						</div>
						<div class="f-time">
							<span>发布时间:</span>
							<span>2018-12-20</span>
					</div>
				</div>
			</li>
			<li class="item" data-num="0">
				<div class="f-left">
					<img src="images/mother.jpg">
					<p class="fen">95</p>
				</div>
				<div class="f-right">
					<p class="miao">对自己作品的简单描述</p>
						<div class="stu">
							<div class="tou">
								<img  src="images/defaultT.png" >
							</div>
							<div class="ren">
								<p>求评审学生</p>
								<p style="color:#bbb;">学生姓名</p>
							</div>
						</div>
						<div class="f-time">
							<span>发布时间:</span>
							<span>2018-12-20</span>
					</div>
				</div>
			</li> -->
		</ul>
	</div>
	<!-- 点击弹出内容 -->
	<!-- <div id="meng"></div>
	<div class="view">
		<div class="content">
			弹出框中间
			<div class="wrap">
				<ul class="detail-top">
					<li><img id="stupic" src="${list.student.avatar}"></li>
					<li>
						<p id="stuName">${list.student.nickname}</p> <span id="zTime">${(list.reviewtime?string("yyyy-MM-dd"))!}</span> 
					</li>
				</ul>
				<div class="detail">
					<h2 class="dtitle">
						<span>分类：</span> <span id="cate1">色彩</span> <span id="cate2">场景</span>
					</h2>
				</div>
				<div class="f-img">
					<img src="${list.notchangedURL}">
					<p class="f-ji">${list.sccore}</p>
				</div>
				<div class="shu">${list.introduce}</div>
			</div>
			<div class="null"></div>
			批改老师
			<div class="f-pi">
				<img src="${list.teacher.avatar}"> <span class="ter">${list.teacher.nickname}</span>
			</div>
			
		</div>
		
	</div> -->
	<div id="div_page" style="padding-top: 10px;float: right"></div>
	<@frame.end "default">
</@frame.end>
</body>


</html>
<script type="text/javascript" src="${contextPath}/resources/js/laypage/laypage.js"></script>
	
<script type="text/javascript">
   var path="${contextPath}";
    laypage({
        cont: 'div_page',//容器。值支持id名、原生dom对象，jquery对象。
        pages: ${reviewPaintingResultDto.totalPage},//通过后台拿到的总页数
        curr:  ${pagination.pageNo} || 1, //当前页
        skip: true, //是否开启跳页
        first: false, //将首页显示为数字1,。若不显示，设置false即可
        last: ${reviewPaintingResultDto.totalPage},
    jump: function(obj , first){//触发分页后的回调
        if(!first){ //点击跳页触发函数;当前页为obj.curr
            window.location.href = path + "/Uinformation/tz_pingshen?page=" + obj.curr
        }
    }
    })
       function reviewDetails(id){
  	  var url=path+"/Uinformation/reviewDetails?id="+id
  	  if(url!=""){
  	      var index = layer.open({
  	            type: 2,
  	            title: '作品详情',
  	            scrollbar: false,
  	            content: url,
  	            area: ['800px', '600px']
  	        });
  	   /*  layer.full(index); */
  	    }
  }
</script>